package AspectoExcecao;

public aspect AspectoExcecao {
	
//	pointcut handler1(Error err);
//	pointcut handler2(Exception ex);
	
	pointcut handle() : handler(Exception) 
						|| handler(Error) ;
	
	before(): handle(){
		System.out.println("EXCECAO CAPTURADA: ");
		System.out.println(thisJoinPoint.toLongString());;
	}
	
}
